<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="Installing Mariabackup">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="mysql-0013.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="30-OceanProtect Appliance 1.5.0-1.6.0 Help Center">
<meta name="DC.Publisher" content="20241029">
<meta name="documenttype" content="usermanual">
<meta name="prodname" content="csbs">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="mysql-0014">
<meta name="DC.Language" content="en-us">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>Installing Mariabackup</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="mysql-0014"></a><a name="mysql-0014"></a>

<h1 class="topictitle1">Installing Mariabackup</h1>
<div><p>Before performing a backup job for MariaDB, you need to manually install Mariabackup on all MariaDB nodes.</p>
<div class="section"><h4 class="sectiontitle">Procedure</h4><ol><li id="mysql-0014__li1678375919578"><a name="mysql-0014__li1678375919578"></a><a name="li1678375919578"></a><span>Log in to the host where the MariaDB instance is located and run the following command to check whether Mariabackup has been installed.</span><p><pre class="screen">mariabackup --version</pre>
<ul><li>If the version number is displayed in the command output, Mariabackup has been installed.</li><li>If no version number is displayed, Mariabackup has not been installed.</li></ul>
</p></li><li><span>Install Mariabackup.</span><p><p>You can use the binary package or RPM package for installation.</p>
<ul><li>Install Mariabackup using a binary package.<ol type="a"><li>Find the <strong>mariabackup</strong> command in the bin folder in the MariaDB installation directory.</li><li>Run the following command to install Mariabackup:<pre class="screen">ln -sf<strong> </strong><em>Installation directory/</em>bin/mariabackup/usr/bin/</pre>
</li><li id="mysql-0014__li8241624154815">Perform <a href="#mysql-0014__li1678375919578">1</a> to check whether Mariabackup has been installed.</li></ol>
</li><li>Install Mariabackup using an RPM package.<ol type="a"><li>Run the following command to find the directory where the RPM package is stored:<pre class="screen">find / -name 'MariaDB-backup*'</pre>
</li><li>Run the following command to install Mariabackup:<pre class="screen">rpm -ivh <em>RPM package directory/RPM package name</em></pre>
</li><li>Perform <a href="mysql-0014.html#mysql-0014__li1678375919578">1</a> to check whether Mariabackup has been installed.</li></ol>
</li></ul>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mysql-0013.html">Step 3: Manually Installing the Backup Tool</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">Copyright &copy; Huawei Technologies Co., Ltd.</div></body>
</html>